package ge.devfest.hackathon.gg.utils;

import android.os.Bundle;
import android.support.v4.app.Fragment;

public class RetainFragment extends Fragment {

	private Object mObject;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setRetainInstance(true);
	}
	
	public void setObject(Object obj) {
		mObject = obj;
	}
	
	public Object getObject() {
		return mObject;
	}
}
